This duplication doesn't appear in tools like CPD because the values in each instance of the repeated infrastructure are indeed unique, but it harms your code nonetheless. 这种复制并不会出现在CPD之类的工具中,因为重复的基础设施的每个实例的值必须是惟一的。尽管如此,它仍然会损害您的代码。
With this in mind, you can use inheritance in Java ™ code to ensure this duplication doesn't spread to the code. 请牢记,可以在Java™代码中使用继承,以避免这种重复出现在代码中。
The base widget prevents duplication of code by providing methods that are common across iWidgets. 基本小部件通过提供iWidgets常用方法来防止代码重写。
And just as code duplication can make a software program more difficult to maintain, so too does duplicate code in build scripts. 代码复制令软件程序更难于维护,同理,构建脚本中的复制代码也存在这样的问题。
Duplication harms projects because it resists attempts to make structural changes or refactor toward better code. 复制对项目有害,因为它不利于做出结构更改或重构为更好的代码。
Duplication in code obscures the design because you can't find idiomatic patterns. 代码复制使设计变得更加模糊,因为您无法找到惯用模式。
Creating intermediate facts is a useful pattern to avoid duplication of rule code. 要避免规则代码的复制,创建中间事实是一个很有用的模式。
The measure for finding duplicated code is to search for code duplication within classes and among other classes in the code base. 查找重复代码的度量方法是在代码库中的类的内部和其他类之间搜索代码重复。
However, these actions should not be repeated for each rule that assesses HeavyRainfall because that would lead to duplication of code and reduced maintainability of rules. 然而,不能为每个评估HeavyRainfall的规则重复这些活动,因为这将会导致代码复制,减低规则的可维护性。
This can be tedious to maintain because it imposes a duplication of code. 这样维护起来会非常繁琐,因为代码是重复的。
Early on we noticed quite a bit of repetitive coding just to generate test grammars, so we found ways to eliminate duplication in the test automation code. 早些时候,我们发现一些只用于生成测试语法的重复代码,于是我们在自动化测试中消除了这些重复。
Over time you will start to see patterns and duplication across code fragments and application functionality which will help achieve synergies. 随着时间的推移,你会看到多个代码片段和应用功能中存在的模式和重复的代码,这对起到增效作用很有帮助。
Carries on the duplication examination to the procedure code is a complex computation process. 对程序代码进行复制检测是一个复杂的计算过程。
In this thesis an automatic method which is used to detect the dis-contiguous parameterized duplication code is introduced. 本文介绍了一个自动的检测程序中非连续参数化重复代码的方法。
A fragment combining algorithm is designed to judge the combined ability of the parameterized duplication code fragment which are found by the former method, so the discontiguous parameterized duplication code is detected. 提出了程序碎片合并算法,判断通过参数化匹配算法找到的重复代码段之间的可合并性,从而能从程序中识别出非连续的近似重复代码。
The successful issuing of Electronic Duplication of Registration Code Certificate for Organizations of the People's Republic of China ( IC) in Ningbo city remarks a new stage in coding practice in the country, and will have profound influence upon the work. 《中华人民共和国组织机构代码证电子副本(IC智能卡)》在宁波的成功发行,标志着我国代码应用工作跨上了新台阶,具有深远的影响。
Normally, the check method of binary is not suitable to the multiple value data. The duplication code and complementary code given in the paper can be applied to check arbitrary value data. 一般二进制校验方法不适用校验多值数据,给出的重复码和互补码,可适用于任意值数据校验。